#ifndef SM__AMIGASUPPORT_H
#define SM__AMIGASUPPORT_H

// MorphOS Wrappers for socket functions as libnix replacement

int _mos_shutdown(int sock, int how);
int _mos_select(int p1, fd_set * p2, fd_set * p3, fd_set * p4, struct timeval * p5);
int _mos_connect(int sock, const struct sockaddr * addr, ULONG len);
int _mos_socket(int p1, int p2, int p3);
int _mos_send(int fd, void * buf, size_t n, int flags);
int _mos_recv(int fd, void * buf, size_t n, int flags);

#endif /* SM__AMIGASUPPORT_H */